package nju.software.xkxt.service.model;

import java.util.Date;

import nju.software.xkxt.data.dataobject.CourseDO;

public class CourseModel {
	private Integer CId;
	private String CName;
	private Integer CType;
	private Integer TId;
	private Date time;

	public CourseModel(CourseDO courseDO) {
		CId = courseDO.getCId();
		CName = courseDO.getCName();
		CType = courseDO.getCType();
		this.time = courseDO.getTime();
	}

	public CourseModel() {
	}

	public Integer getCId() {
		return CId;
	}

	public void setCId(Integer cId) {
		CId = cId;
	}

	public String getCName() {
		return CName;
	}

	public void setCName(String cName) {
		CName = cName;
	}

	public Integer getCType() {
		return CType;
	}

	public void setCType(Integer cType) {
		CType = cType;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Integer getTId() {
		return TId;
	}

	public void setTId(Integer tId) {
		TId = tId;
	}

}
